package com.xcm.model.dto;

/**
 * 固件列表DTO
 * @Author HanQinrui
 * @Date 2018/5/7 10:14
 * @Version 1.0
 */
public class FirmWareListDTO {
	/**
	 * 固件信息主键
	 */
	private Long deviceUpgradeId;

	/**
	 * 升级类型 0:软件；1:固件
	 */
	private Integer upgradeType;

	/**
	 * 名称
	 */
	private String name;

	/**
	 * 更新时间
	 */
	private Long updateTime;

	/**
	 * 版本号
	 */
	private Integer versionCode;

	/**
	 * 版本名称
	 */
	private String versionName;

	/**
	 * 对应机型
	 */
	private String model;

	/**
	 * 大小
	 */
	private String size;

	/**
	 * 是否升级 1强制升级;0不强制
	 */
	private Integer active;

	/**
	 * 软件版本说明
	 */
	private String softwareVersionDescription;

	/**
	 * 下载的绝对地址
	 */
	private String url;

	public Long getDeviceUpgradeId() {
		return deviceUpgradeId;
	}

	public void setDeviceUpgradeId(Long deviceUpgradeId) {
		this.deviceUpgradeId = deviceUpgradeId;
	}

	public Integer getUpgradeType() {
		return upgradeType;
	}

	public void setUpgradeType(Integer upgradeType) {
		this.upgradeType = upgradeType;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getVersionCode() {
		return versionCode;
	}

	public void setVersionCode(Integer versionCode) {
		this.versionCode = versionCode;
	}

	public String getVersionName() {
		return versionName;
	}

	public void setVersionName(String versionName) {
		this.versionName = versionName;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public Integer getActive() {
		return active;
	}

	public void setActive(Integer active) {
		this.active = active;
	}

	public String getSoftwareVersionDescription() {
		return softwareVersionDescription;
	}

	public void setSoftwareVersionDescription(String softwareVersionDescription) {
		this.softwareVersionDescription = softwareVersionDescription;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@Override
	public String toString() {
		return "FirmWareListDTO{" +
				"deviceUpgradeId=" + deviceUpgradeId +
				", upgradeType=" + upgradeType +
				", name='" + name + '\'' +
				", updateTime=" + updateTime +
				", versionCode=" + versionCode +
				", versionName=" + versionName +
				", model='" + model + '\'' +
				", size='" + size + '\'' +
				", active=" + active +
				", softwareVersionDescription='" + softwareVersionDescription + '\'' +
				", url='" + url + '\'' +
				'}';
	}
}
